package Message;

import java.util.ArrayList;

import org.simpleframework.xml.ElementList;

import GameModel.mCard;
/**
 * 
 * @author Christopher Vogel
 *
 */
public class XMLhandcards {
@ElementList(name="handcardOfPlayer", required=false)
ArrayList<mCard> handcardOfPlayer = null;

public XMLhandcards(@ElementList(name="handcardOfPlayer", required=false)ArrayList<mCard> handcardOfPlayer) {
	super();
	this.handcardOfPlayer = handcardOfPlayer;
}

public ArrayList<mCard> getHandcardsOfPlayer() {
	return handcardOfPlayer;
}

public void setHandcardsOfPlayer(@ElementList(name="handcardOfPlayer", required=false) ArrayList<mCard> handcardOfPlayer) {
	this.handcardOfPlayer = handcardOfPlayer;
}

@Override
public String toString() {
	return "XMLhandcards ["
			+ (handcardOfPlayer != null ? "handcardOfPlayer="
					+ handcardOfPlayer : "") + "]";
}




}
